package edu.tms.bean;

import java.util.*;


public class Picture {
	/**
	 * 照片存储id
	 */
	private Integer pictureId;

	/**
	 * 相册id
	 */
	private Integer albumId;

	/**
	 * 图片名称
	 */
	private String pictureName;

	/**
	 * 图片所在路径
	 */
	private String pictureUrl;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 照片状态 1:正常,2:冻结
	 */
	private Integer pictureState;


	public Picture () {
		super();
	}

	public Picture (Integer pictureId,Integer albumId,String pictureName,String pictureUrl,Date createTime,Integer pictureState) {
		this.pictureId = pictureId;
		this.albumId = albumId;
		this.pictureName = pictureName;
		this.pictureUrl = pictureUrl;
		this.createTime = createTime;
		this.pictureState = pictureState;
	}

	public Integer getPictureId() {
		return this.pictureId;
	}

	public void setPictureId(Integer pictureId) {
		this.pictureId = pictureId;
	}

	public Integer getAlbumId() {
		return this.albumId;
	}

	public void setAlbumId(Integer albumId) {
		this.albumId = albumId;
	}

	public String getPictureName() {
		return this.pictureName;
	}

	public void setPictureName(String pictureName) {
		this.pictureName = pictureName;
	}

	public String getPictureUrl() {
		return this.pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getPictureState() {
		return this.pictureState;
	}

	public void setPictureState(Integer pictureState) {
		this.pictureState = pictureState;
	}

	@Override
	public String toString() {
		return "Picture[pictureId=" + pictureId+ ", albumId=" + albumId + ", pictureName=" + pictureName + ", pictureUrl=" + pictureUrl + ", createTime=" + createTime + ", pictureState=" + pictureState + "]";
	}


}

